Replaced usage of list for building pending commands with using execute
on collector directly (which has the same effect).

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