Added a UPNP_DeletePortMapping() call to remove the UPnP entry after it's no longer needed.