Added cpu profile flag on gobot start
Avoid slice creation and use defer close