patch pool.js to be async consistently