Added assert to trap cases where resuming an interrupted transfer isn't well handled.