Fixed issues and behavior of EventLoop.destroy.