Properly disconnect clients from the server