a script for M.A. to hopefully avoid lock files being left around blocking access for hours.