Periodically call maybe_send_keepalive() when timeouts are in effect