Updated quartz shutdown, to return instance of itself