remove lockfile when done