Added a client.close()