It appears that _multi_bulk_reply runs _bulk_reply repeatedly but _bulk_reply is emptying the socket of all replies.