Added a barrier to the DHT performance test for reliability.
Improved buffered exchange performance slightly by ensuring more consistent flushing.