Fix an issue with the keychain timing out