code: private void unready(final Handler<AsyncResult<Void>> doneHandler) {
      if (currentContext != null && data != null) {
        log.debug(String.format("%s - Pausing network", NetworkManager.this));
        data.remove(currentContext.status(), new Handler<AsyncResult<String>>() {
          @Override
          public void handle(AsyncResult<String> result) {
            if (result.failed()) {
              new DefaultFutureResult<Void>(result.cause()).setHandler(doneHandler);
            } else {
              new DefaultFutureResult<Void>((Void) null).setHandler(doneHandler);
            }
          }
        });
      }
    }
docs: Unreadies the network.