Added lockfile checking to process batch jobs