static void InitiateReconnect() { WorkerThread *thr = WorkerThread::This(); if (thr) { // Defer sending the completion of exposure message until after // the camera re-connecttion attempt thr->SetSkipExposeComplete(); } pFrame->TryReconnect(); }