code: @Override
      public synchronized void stop(StopContext context) {
          final ProcessControllerClient client = this.client;
          this.client = null;
          StreamUtils.safeClose(client);
      }
docs: {@inheritDoc}