case RequestSender.TRANSFER_FAILED:
if(key instanceof NodeCHK) {
if(shouldHaveStartedTransfer)
throw new IllegalStateException("Got status code "+status+" but transfer not started");
shouldHaveStartedTransfer = true;
<BUG>rs.callbackWhenStatusChange(this, waitStatus);
}</BUG>
return;
default:
<BUG>throw new IllegalStateException("Unknown status code "+status);
}</BUG>
} catch (Throwable t) {

case RequestSender.TRANSFER_FAILED:
if(key instanceof NodeCHK) {
if(shouldHaveStartedTransfer)
throw new IllegalStateException("Got status code "+status+" but transfer not started");
shouldHaveStartedTransfer = true;
continue; // should have started transfer
}
return;
default:
throw new IllegalStateException("Unknown status code "+status);
}
}
} catch (Throwable t) {
