public void SignalLogin() { // Only login when sessionToken is supported // and login not already been requested. if (Interlocked.CompareExchange(ref performLogin, 1, 0) == 0) { cluster.InterruptTendSleep(); } }