The typo caused the select statement to be under-selective; the race condition could have occurred if a contact transport was removed while an outgoing connection was being created.
A test is failing due to key derivation errors - must be fixed!
Throw FormatException rather than RuntimeException if authenticated decryption fails.