Fix to shutdown properly without 'RELOAD_PATH'