I tried to write some code to clean up stray lock files created by other runs, but it doesn't seem to work