Also move down the ref for the caps a bit, so tha we don't leak it in the branch that calls continue.