Hotfix #3

Synchronization of clients
Fixed crashed thread when TCP connection was terminated