Thanks for the reply
I ended up leaving it at the dealer for top end recall and I asked them to check that could be causing it to just shut down. They tested it and said it’s my stator. So I bought a stator and replaced it and it runs great since than. I guess it was giving out 22-24 volts ac when I tested it but I couldn’t really test resistance with my meter.
I bought small digital voltage gauge and now I can always see if I’m loosing charging.