wrapping call to instance urls in try/catch