Ensure client.destroy() returns the key when successful