To cleanup the avps/xavps, the function in `http_async_client` that executes the `event_route` block has to do `ksr_msg_env_reset()` after the execution of the `event_route` -- something like done in the rtimer module:
* https://github.com/kamailio/kamailio/blob/master/src/modules/rtimer/rtimer_m...