task: Allow parameter less on_finish functors
Makefile: Improved clean target
Improved termination code