Added util lib, call server/client term on exit.