daemon: listen for term signals