The tests was using kill to close Flint, as result pytest-cov
was not able to reach the information relative to the coverage.
This MR catch the interruption SIGTERM
and try to close the application in the normal way. Which is also better for the default use case too.
This should improve the test coverage.