Use -keepAlive option to determine connection health