server: Add an async structure to the flush request to follow the common pattern.