Add protection in portmapping connection-map loop