fix: bad error message for ConcurrentQueue
mod: merge some end function in Queue to finish