I doubt that Redis server sends chunked responses, but wouldn't it be a bit safer to check if the queue is really empty?