code: public void close() throws IOException {
          logger.debug("ftp socket closed");
          if (ftpIn != null)
              ftpIn.close();
          if (ftpOut != null)
              ftpOut.close();
          if (socket != null)
              socket.close();
  
          hasBeenOpened = false;
      }
docs: Closes the control channel