Use old-way of setting timeout

Apparently the previous version didn't work correctly...
More debugging attempts