onConnectionError method
Is called when the connection encountered an error
Implementation
@override
void onConnectionError(dynamic error) {
logApp('onConnectionError: $error');
_isInIdleMode = false;
_selectedMailbox = null;
_failPendingIdleContinuation('connection error: $error');
fireEvent(ImapConnectionLostEvent(this));
}