f: allow shutdown hook to be avoided