added an option in enqueueOnce() for whether including active process when consider the same process is in queue, default FALSE.