either reraise on the flop or the turn.. i would prefer the all in on the turn .. you were safe on the flop from flushes, when the possible flush draw exist, this is a good time to push all in ... ideally you are only going to be called by people with a set or 97 as well, but the preflop raiser might call.. if someone wants their flush here, its going to cost them.