Handle end-of-queue properly, no crash\!