[PATCH 2/3] server: Store pending flag in async object.