Toddler almost died of virus