Restabilizing mechanisms after the onset of thermal instability in bipolar transistors