if PERSONA_WITH_COVER, do a graceful shutdown so cover can generate .coverage_data
Merge pull request #2808 from jrgm/fix-coverage-for-static-daemon

if PERSONA_WITH_COVER, do a graceful shutdown so cover can generate .coverage_data

close #2807