added code for live machine validation and resseting connections when the client process terminates