remove ForegroundThreadGuard.ExecInForegroundThread