Removed redundant flush method of collector.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>