code: public void terminate()
      {
          try
          {
              in.close();
          }
          catch (final IOException exception)
          {
              Verbose.exception(exception);
          }
          try
          {
              out.close();
          }
          catch (final IOException exception)
          {
              Verbose.exception(exception);
          }
          try
          {
              socket.close();
          }
          catch (final IOException exception)
          {
              Verbose.exception(exception);
          }
          state = StateConnection.DISCONNECTED;
      }
docs: Terminate client.