Shortcut for closing connections and locking keychain