code: public void stop() {
  		isStarted = false;
  		Iterator i = allConnections.iterator();
  		while (i.hasNext()) {
  			ConnectionWrapper connWrap = (ConnectionWrapper) i.next();
  			try {
  				connWrap.getConnection().close();
  			} catch (SQLException e) {
  				nrofErrors++;
  				System.out.println(new LogEntry(e));
  			}
  		}
  
  		allConnections.clear();
  		availableConnections.clear();
  		usedConnections.clear();
  	}
docs: Stops the component and closes all connections