- set keepalive options to check connection status. - if we lost the connectin, we will detect after 60 sec by default.