Disable modules after errors