allow double call to client.disconnect()