add PhEDEx recovery code in PhEDExInjector