Make sure the Thread gets woken up when a new message is scheduled. Enable canceling the thread.