Optimize libasync near libevent performance

Fix optimization