Add basic blocking read for queues