Added the retire_idle flag.