Release the lock before running tests.