chore(thread): set max task delay time to 5 seconds