try to keepalive TCP connection