Fixed #148 - cleaning up machine setup processes when terminating a pool