This is a long running process, chances are that a cap disappears intermittently. So find cap by name and do not fail.