I found that greatly reducing the chance to occur helps. The default config setting is 450. I upped it to 900, but even higher might be better to make them properly rare.
Setting it to 1 incidentally, (one in every chunk, I believe) will crash during the first 1% of worldgen, if you were curious.