Removes Thread.start() that does not allow to build samples