bugzid 3386 & 2554: promote setting async job ids outside of isDebugEnabled check
fix removal of orphaned service after vm image is made