auto-close and background refresh