Fix plugins in reset
Fix server terminate event in reset
Ensure image tasks are not repeated in flow