Check for requeued subtasks when in RETRY state.

@sarina @rocha  This is just the change to handle the hole in handling retries.  I think this is the major remaining hole.