Is there any way to salvage a coriander plant when it does this, or am I best to mulch it and start from scratch?

My parsley is looking like it is about to do the same thing. Is there any way to prevent it and help it continue producing?