Fix the never-timeout issue.