server no longer crashes when a client takes time to disconnect