Fix memory leak when setting new coverage with remote call