This is the reason my standard order is always two coffees, rather than get one, drink it and then line up for a second.
Although these days I more often have my Contigo spill proof brew mug with me and just hand that over. As it’s about the size of 1.5 coffee cups it works well.