Added force quit when teacher quit.