cleanup lock file