Make sure we actually track shutdown hooks