Add method to set hosts to be used and reinitialise the host pool