work on #46 (handle quit local consoles gracefully)