Don't allow commenting while the thread is closed

TNL-150