Fix multipart request when do retry