If all socket connections are closed (e.g. with Shutdown()) an Internet connection should be automatically terminated.