Changed execution order in reset_slave_all