I followed the suggestion by guilhermito. I suppose it has been done that way cause if it fail you can easily debug the problem.

Can you point me an example where a timer is used?