Yup, that's a problem! My cilantro is "good" for a certain period...when evenings are still cool...then they bolt. I do have some still okay in the garden that are surrounded by other plants but not for long I'm sure.
Of course my cilantro plants are just little seedlings in May