Auto restart circuit, switch controlling circuit, and switch controlling method