explicitly return on first successful exit value

an explicit return stops the loop and returns a successful value. an
unsuccessful value(LoadError) is caught and the next iteration continues
to look for a repl.