Close lipc handles on exit.

No idea if bad things happen if we don't, but at least this sounds more
correct. (re #696)