System should exit when server stops and plugins should be disabled.