Fix serialization of IntervalYear in ExpressionStringBuilder

Increase average bytes allocated for key vectors in HashAggBatch
Update client and server to wait to close before returning to avoid spurious allocator test failures.