Made quickserve more reliable when exiting