Task scheduler: mark task as active if we are scheduling as soon as possible.