Clears agents that are done