If the rot enters the heads due to their loosen, then correcting that problem might prevent the soft rot. Overhead irrigation should also be avoided but in a rainy climate that might not be much help. I'm not sure which fungicides if any could be used to effectively prevent soft rot. Also consider crop rotation in future years to reduce pathogenic spores in the planting area.