bind10 restart function, clean stdout