Hi Ally
Based on your description it looks like you want the mediator to immediately respond to the OpenHIM with a 200 status code, so that the rapidpro functionality can be executed, but it is taking along time due to other functions being executed. What you can do is to respond to the OpenHIM as soon as the endpoint in the mediator is reached, which will trigger the rapidpro functionality, and then when the other requests are completed, we can added them to the OpenHIM transaction
Warm regards,
Martin