Don't allow commenting while the thread is closed

TNL-150
Again, could you add the opposite assertion with an open thread here too?