delete qneue and mutex