If I take off with flaps 15 and have an eng failure I'll wait till the established altitude to retract flaps on schedule.
Now, let's say I go around, set flaps 15 and THEN have an eng failure: shall I retract immediately the flaps to 1 or shall I wait till the acceleration altitude?