prevent hanging during compilation