pausing & resuming request to account for asynchronous nature of middleware