Add disconnect method to the server