m_available.add(conn);
boolean remove; try { remove = conn.isClosed(); } catch (SQLException e) { s_log.warn("error calling Connection.isClosed()", e); remove = true; }  if (remove) { remove(conn); } else { m_available.add(conn); }
    public synchronized void release(Connection conn) {        if (!m_connections.contains(conn)) {            throw new IllegalArgumentException                ("connection did come from ths source: " + conn);        }        m_available.add(conn);        notify();    }