Hubble Space Telescope captures death of a star