Moved client.stop