Exclude thread cleanup function from coverage
Merge pull request #167 from Metaswitch/log_coverage

[No review required] Exclude thread cleanup function from coverage