increased idle_threshold, changed close_all