wired request.close to response.close and moved next-tick async into dispatch()