fixing bug: AttributeError: DumpMaster instance has no attribute 'unload_script'
shutdown properly if we dont keep serving