Added option to ignore http error 1005