Don't do "exit" in hooks