save listening ports to extra attribute so it is not lost