The StatSampler was fired twice -in the constructor and outside. Now it is fired only once, and the first time is not immediate, but after a given interval