Since you're looking to "retire" to Thailand, why not do what
@John *********
suggested ? GET your retirement visa and, when LEAVING, get a "re-entry permit" and come back on your own schedule.
The thing you have to be careful about is the dates, since you MUST use the "re-entry permit" BEFORE your (1-year retirement) "extension of stay" expires, otherwise you'd have to go through the entire retirement visa process again.
e.g., You come in on your Non-O, or Non-OA, and go through the process of getting your 1-year (retiree) "permission to stay".
It begins (e.g.) May 15. You stay for 5 months, til Oct 15, then get your RE-ENTRY PERMIT as you're leaving for 7 months.
That re-entry permit MUST be used by May 15th of the following year (the end of your 1-year (retirement) "permission to stay", to keep your retirement "cycle" intact.
So there is a little bit of scheduling you must be aware of.