capture runtime even during failures