Revert "[TEST] Log where locks are created from if they are still open on close()"

This reverts commit 7eb8b0d0c0b2ef3adcfd7b1e10ea0ca9a50c1adc.