Fixed a bug that commands weren't returned
Everything is now in events + Added reconnect support