public void closeScratchPad() {
		// use copy of scratchPad to be thread-safe
		DBHandle scratchDbh = scratchPad;
		if (scratchDbh != null) {
			scratchDbh.close();
			scratchPad = null;
		}
	}
Close the scratch-pad database handle if it open.
Ghidra/Framework/DB/src/main/java/db/DBHandle.java