Fix deadlock potential with some ast_indicate/ast_indicate_data calls.