Added disconnect method to client.