Make sure transformer quits promptly