Added support for syncing after execution a sequence of commands
supplied with the collected executions.

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