code: private void disconnect(AFTPClient client) {
  	try {
  	    if (client != null && client.isConnected()) {
  		client.quit();
  		client.disconnect();
  	    }
  	}
  	catch (IOException ioe) {}
      }
docs: disconnect a client
  
  @param client