Reset fail count after killing subprocess