implemented timer for task collection