Fix stop method in customdns service

Change-Id: Ie036170bacb65bbe0e9530187db33a6bbacb7d38