5-year-old gets second chance at life after nearly drowning in pool