Add a timeout to getting the translation unit