changed the catch for the client handling to not disconnect them randomly