Reset on_shutown once executed.