server process and asynchronous flush() and close() calls