Don't allow commenting while the thread is closed

TNL-150
This is the same as the other test case