Fix sockets
Merge pull request #50 from ZniehGames/fix-sockets

Fix sockets disconnect