async write in test echo server