corrected consume and reliable fetch when hitting end of queue