Added setting for when to close the comments