optimize byte range loading
cancel fragment loader when enough data has been retrieved
related to https://github.com/mangui/HLSprovider/issues/139