Ok, here's my thought process, any comments and criticism is very welcome.
I took a lot of time to make a decision. I put him on a range of weak A or weak J and/or draws but was too confused and timer was ticking. I made a decision based on the fact that if his best possible hand there was a flush draw + a gutshot and although I couldn't determine the math I thought I was way ahead of that.
If I raise and he calls against pot odds
and a scare card hits I don't know if I can call a new bet.
So I shoved. I think it was the best decision. Odds were on me and I have a some outs to get the nuts against a suckout.