fix for segmentation faults on server shutdown when clients are connected.
bug #??  (cant access bugzilla)