When client sends several requests, these are processed in a secondary thread, sometimes connection can be closed for any reason, and there are still requests pending. Use OnHTTP2PendingRequests event to handle these pending requests. This event is called when client detects a disconnection and there are still pending requests. This event has 2 parameters:
1. Reconnect: by default disable, if you set to true, client will reconnect automatically.
2. Clear: by default enabled, if you set to false, when client connects again, it will try to resend pending requests to server.