Allows to write cpuprofile multiple times