Add try catch in hpx spawners