Fix to re-route the path when some ports are down.