polling both queues for results