TRQ-2958 Don't allow a node structure to be deleted if a thread is still depending on it.