update to unix socket shutdown sequence.

Should fix crashes occuring from unix mode shutdown/cleanup phase.


** Don't push it to the master yet.  Waiting for test results from ebf0