deleting lock file