Called by the XmppConnection when the reconnection failed.
@override Future<void> onFailure() async { await Future<void>.delayed(Duration(seconds: _sleepAmount)); await performReconnect!(); }