fixes  an unhandled IO exception in urllib that crashes graphios