delete lock file when script finishes its tasks