Fix for blocked thread on startup when a texture is being loaded from a stream.