make server handle client disconnect better, cleanup client server, remove sleep from client