AsyncHandler done must be atomic, close #2124