looking glass: fix slow cinnamon restart when debugger is in use.