Reconnect fix: prevent deadlock by not calling SocketIO.disconnect() in the onState method (circular synchronization)
Logger updates