Normally we have a background thread running, but in an EM setting I guess we should add timers. You could call Appsignal.agent.send_queue manually.