``taskTimeout`` is doing things similar to what is done in onTaskFinished. Shouldn't those things be factorized?