use lockfile to prevent clobbering of running proc