Signal handlers in mirror and build clients

so that we get *some* output in the log when the service terminates