GROOVY-6613: Add more catch clauses that may prevent an extension module from loading but still be handled