[PATCH 4/4] server: Introduce a new async state enum.