implemented asyncronous closing of milestones