Fixed concurrent modification exception with clear done and clear urgent commands.