Restart the metadata proxy if networks have been added/removed.