Might be worth a reboot to get a clean start. Then ensure that you always rmlocks -f scratch databases before deletion so a mess doesn't build up.