CTP delay attack - checkDelayQueue procedure changed to task