consumer: Add timeout for thread pool execution