code: @Override
  	public void close() throws IOException {
  		try {
  			upload.executeBatch();
  			batchCount = 0;
  		} catch (SQLException se) {
  			throw new IllegalArgumentException("close() failed", se);
  		} catch (NullPointerException se) {
  		}
  		try {
  			upload.close();
  		} catch (SQLException se) {
  			LOG.info("Inputformat couldn't be closed - " + se.getMessage());
  		} catch (NullPointerException npe) {
  		}
  		try {
  			dbConn.close();
  		} catch (SQLException se) {
  			LOG.info("Inputformat couldn't be closed - " + se.getMessage());
  		} catch (NullPointerException npe) {
  		}
  	}
docs: Executes prepared statement and closes all resources of this instance.
  
  @throws IOException Thrown, if the input could not be closed properly.