Added tieback to what happens when the inner loop exits.