Break out of installation loop if the thread is interrupted