autocleanup of old tasks