Fix style issues in async server code