Added code to close milestone, but it doesn't work proper yet -> need to repair it