Made better reporting of termination reasons