Excessive reconnects issue resolution

Fixes #868
where is this function defined? can't find it anywhere in the project (on the develop branch).

Also, I see that `self.cryptor = Cryptor(pubkey_hex=self.pubkey, privkey_hex=self.secret)` already happens in the `CryptoPeerListener` constructor, is this `cryptor` truly meant to be another instance? why can't `self.cryptor` be used to decrypt the message?