Fix exitEventLoop with disable worker threads and running yield()ed tasks.

st_workerTaskMutex was accessed, even when not initialized and caused an access violation. Another issue was that any task that join()ed another task was resumed from within the fiber that it was waiting on.