after what seemed an eternity , during which josh had been forced to ring up two sales on the cash register and had retired to the back of the shop in a fit of pique , tim emerged from the back room with the comics .