code: public final void closeUnmanagedConnection(final Connection conn) throws SQLException {
        activeUnmanagedConnections.dec();
        if(!conn.isClosed()) {
           conn.close();
        }
     }
docs: Closes an unumanged connection.
  @param conn The conneciton.
  @throws SQLException If close fails.