MCOP-351 refactor runhosts

Restructure the method a little so the common 'stop and update the world' is
expressed only once.