Till 50 IMO. You can still benefit from increased height untill your late 50s / early 60s if you take care of your health and looks. Your QoL will improve in that case in terms of dating / hooking up but won't change a thing if you look like a grandpa at that age. The only thing that will change in that case is male respect from added height but that's it.