xenapi: fix resetnetwork if it requires a reboot

If a reboot occurs during resetnetwork, we should retry out call
to resetnetwork, just like we do with get_version, so that we call
the agent on the new domid

Change-Id: I34c9f1a51d23387cbe95a7dffec471eb6de78fa6