tests: Cleanly terminate the daemon when running, making sanitizer and other tools to work
This implies a SIGTERM, and so will trigger the daemon clean teardown, making it exit correctly.
In this way the coverage data is correctly generated, making finally our coverage reports to be real!
Fixes: #137 (closed)