Use the given filename as an exclusive lock to ensure that multiple scans are not performed concurrently. If there is already a scan in process, the scan will not commence, and instead the process will exit with a 0 return value.