check for lockfile before checking for killfile; remove lockfile if killfile triggers