if (db.eventCoordinator != null){ db.eventCoordinator.close(); }
	public void iscDetachDatabase(IscDbHandle db_handle) throws GDSException {		boolean debug = log != null && log.isDebugEnabled();		isc_db_handle_impl db = (isc_db_handle_impl) db_handle;		if (db == null) {			throw new GDSException(ISCConstants.isc_bad_db_handle);		}		synchronized (db) {			// if (db_handle.hasTransactions())			// {			// throw new GDSException(ISCConstants.isc_open_trans,			// db.getOpenTransactionCount());			// } // end of if ()			try {				if (debug)					log.debug("op_detach ");				db.out.writeInt(op_detach);				db.out.writeInt(db.getRdb_id());				db.out.flush();				if (debug)					log.debug("sent");				receiveResponse(db, -1);			} catch (IOException ex) {				throw new GDSException(ISCConstants.isc_network_error);			} finally {				try {					disconnect(db);				} catch (IOException ex2) {					throw new GDSException(ISCConstants.isc_network_error);				}			} // end of finally		}	}