del the deadlock test code