That if statement is not even needed as we catch an exception around loop