Bug 1053674 - Remove subclass of StateMachine and use our own task queue.