Fix CPU loop when client disconnects
Fixed an issue to work around where if a client disconnects from the server it is not correctly detected by c#
Fixed an issue to work around where if a client disconnects from the server it is not correctly detected by c#