Improve AtmosphereResource unregistration