using lock dir instead of process name