Handle the case of pull request is closed after testing starts