Remove ports when so needed