Set output to 0 in stopHook().