Fix a bug where vector resizing invalidates outstanding sends