Moved scheduled events to their own threads.