Fixed a bug that caused a race between ~Thread and Thread::Runner receiving a new job from the threadpool