private static void closeAndDrain(DefaultHttpResponse actualRes,HttpResponse deferredRes){
  actualRes.close();
  deferredRes.subscribe(NoopSubscriber.get());
  waitForEventLoop();
}

private static void closeAndDrain ( DefaultHttpResponse actualRes , HttpResponse deferredRes ) { actualRes . close ( ) ; deferredRes . subscribe ( NoopSubscriber . get ( ) ) ; waitForEventLoop ( ) ; }
closes the response returned by the delegate and consumes everything from it , so that its close future is completed .
