A better way to do this is by telling libevhtp to call a callback function after creating the thread - I think this is the second parameter to `evhtp_use_threads` in `HttpStack::start`.