Enhance callback loop to rerun puppet and try again

Signed-off-by: Yaniv Bronhaim <ybronhei@redhat.com>