Fixed bug: Any client could close server's connection. Now the server decides when the connection is closed