public DefaultHandlingResult(final Request request, final MutableHeaders responseHeaders, Registry registry, final int timeout, LaunchConfig launchConfig, final Handler handler) {
// There are definitely concurrency bugs in here around timing out
// ideally we should prevent the stat from changing after a timeout occurs
this.headers = new DelegatingHeaders(responseHeaders);
final CountDownLatch latch = new CountDownLatch(1);
final EventController<RequestOutcome> eventController = new DefaultEventController<>();