Implement handlers for intraday activity API
Fix a task max_retry bug

Fix the bug that when max_retry is 0, it is overwritten by class configuration.