Remove used tasks