Lock file to prevent duplicate processes on the same host