[docs] [issue29407] Remove redundant ensure_future() calls in factorial example