Jn clean shutdown