Don't allow commenting while the thread is closed

TNL-150
This is counter-intuitive; the "closed" parameter should probably be renamed to reflect that it's the expected final state and not the initial state.