canceling image loading via try/catch