Is it possible to automatically uninstall the agent when it is disconnected to the network? Thanks