Disconnect any connection between user thread and the event scheduler.