removing client from clients list on disconnect
server closes connection when client disconnects