add should_keep_alive.