Reassign default value for signal when terminate loop.