So you just had 4 months in Thailand with one single entry tourist visa one 30 day extension and one 30 day visa exempt by doing a boarder bounce.
If you’re going back to your home country for 2 months you should apply for a multiple entry tourist visa that you can get nearly 9 months out of if used correctly.
There is always a chance a immigration officer could stop you on any entry and ask you for proof of funds accommodation and onward travel.