Consume all stdin when rcs_receive short-circuits, to avoid git SIPIPE race.