refine the service shutdown