[feature] free memory when scatter-gather send