dialplan: fix incorrect ERROR on shutdown