Heres my problem I have a piece of code which traverses a queue to get database content and outputs to the browser using implicit flush, once the end of the code is reached