Fixed client.close