Async IO bug fixed