fix portmapper worker close