TaskRunner optimization