Fix trying to read a URL multiple times