Use process lock to see if a process is already running or designate a master process when running concurrent applications.