fix a bug pointed out by Andreas -- don't detach from socket then use it.
fix a bug pointed out by Andreas -- don't detach from socket then use it.

each/bind9-collab,pecharmin/bind9,each/bind9-collab,pecharmin/bind9,each/bind9-collab,pecharmin/bind9,each/bind9-collab,pecharmin/bind9,pecharmin/bind9,each/bind9-collab,each/bind9-collab,pecharmin/bind9