ms-queue: relax the second load of head/tail