added keepalive to socket connection streams, to allow for very long running processes, >2hrs