I think this implementatino of clone_vm is non-racy. It adds the hostname to the redis set before starting the asynchronous task, so the main pooler thread should never have a situation where there's a job happening that it doesn't know about