How to disconnect a indy telnet...

How do I disconnect an indy telnet object.

My program does everything correctly, but insists on generating a
ondataavailable is nil exception when I close.

How do I stop it generating the exception.

The problem is I cannot trap it - as it occurs after the last line of the
procedure in which I connect (i.e. the disconnect itself doesn't generate the
exception).

Any help appreciated...

--
---
/* Christopher Burke - Spam Mail to craz...@hotmail.com
|* www.craznar.com -
\* Real mail to cburke(at)craznar(dot)com