Bug 990984: Explicitly close socket file descriptor, r=kyle

Closing the socket explicitly will make UnixSocket fail
if we're trying to read or write afterwards; indicating
potential bugs.