Allows code coverage collector to be started in a nested way.