add wait_call for atask module