Cleaning up client.