add server_async with example code