fixed a bug where the client segfaults when its closed
after a connection was established and disconnected and then the client was closed with the X
Authored by: dbuettner 2009-03-13
Parent: [r2498]
Child: [r2500]