Only allow to be shutdown once