If the agent logs off the physical device first, Lync will be re-synchronized only after the next call is received or attempted.