Async worker for functions stack