remove some unused code in async-helper