Cleaning lock file