fix stack trace spew caused by some routers' UPnP implementations