prepare for using task lib to implement async requests