finished service to unregister a device