use urllib to check image availability instead of azure sdk