Misplaced comma, should be after "closed", not "then".