fix stack trace spew caused by some routers' UPnP implementations

5ee3172