- Call maybe_send_keepalive() if timeouts are enabled.