You are dealing with a cat. You want to be catnip.
Stop doing anything that frightens the cat. Do things that will attract the cat (but do not go over board).
For example, look your best and smell good when interacting with him. Show him what he is missing out on. Don't actively pursue him. Right now is indirect. If he comes around, let him. Give him positive attention. When he leaves, let him go. Act as if you are starting a new relationship (which you are). You learned a lot in the last relationship and you do not want to repeat those mistakes.
HUGS
"What is best for my kids is best for me" Amor Fati Link to quotes: https://www.divorcebusting.com/forums/ubbthreads.php?ubb=showflat&Number=2879712