Get delayed task scheduling working

Currently the scheduling for delayed tasks is not working correctly. Get
it working with the most simplistic idea you can think of.