Make sure the pool management process terminates on destroy

For Amazon we keep the process running by blocking inside an user task. We need to find a different way of keeping the process in a state that allows it to receive external signals for termination.