Automatic disconnect now works for the client, where he either loses connection with the server or the server goes down