Protect disposing MesquiteFrame against exceptions (due to threading?)