Minor bug fix in async pool