Add unregister on provider destroy