reinstate ssl reconnect