graceful termination of upnp server