Making cleanup public to make it available from problems detected by the Transports (SecureWebsocketTransport)