remove stale tasks