Calling Keyring.done() on connection end