Without this change a transient error on shutdown with reason terminate prevents child shards from starting.