Fails a pending ready with error, as a refused connection would.
error
void failReady(Object error) { if (!_ready.isCompleted) _ready.completeError(error); }