Fixed issue where client-coverage.json was not removed onclose