Hello,
On a pairing failure from iOS (either cancel or timeout of the pairing dialog alert "Bluetooth Pairing Request"), the device no longer allows pairing until a software reset is issued. It does seem to clear keys properly when it fails though...There must be some weird cache thing happening but I don't see anything obvious in the SDK code.