TIdExceptionThreadEvent is an event type signalled when an executing
TIdThread encounters an exception. TIdExceptionThreadEvent is the type used to represent the
TIdThread.OnException property and implements exception handling for the thread prior to exiting from the Execute method, and calling Terminate for the thread.