ctx error on async task