modify the cat close idle time bug