Fix chunk download in error