Unresolved tasks stuck in Resolving or Completed get deleted

[#79618156]

Signed-off-by: Johannes Petzold <jpetzold@pivotal.io>