DoNotify is an overriden procedure in
TIdNotifyMethod that implements the abstract method from the ancestor class, and allows the threaded notification mechanism to execute the thread method assigned to the class instance. DoNotify is called from the inherited Notify method when the main thread of execution is Active, and the main thread uses the notify method. Under all other circumstances, Notify creates a threaded notification handler and adds it to the global NotifyThread instance.