Is there any piece of software or application to warn me, when I attempt to shutdown, restart, sleep or logout my computer, that a network device (computer or smartphone) is connected and using my computer? Anything that pops up a message if I click on Shutdown informing there is a device connected to have the alternative to keep going or cancel. At present if I click on Shutdown and forget a smartphone and a laptop are connected via LAN, computer actually shutdowns and leaves a smartphone and a laptop without connection, obviously.