- Control blocking tasks by context - Add tests to check deadlock by calling Close/Restart in state change callback - Remove unnecessary chan