public override void Run()
{
try
{
System.Threading.Thread.Sleep(new System.TimeSpan(10000 * timeToWait));
message.acceptReplies = false;
// Note: Abandon clears the bind semaphore after failed bind.
message.Abandon(null, new InterThreadException("Client request timed out", null, LdapException.Ldap_TIMEOUT, null, message));
}
catch (System.Threading.ThreadInterruptedException ie)
{
// the timer was stopped, do nothing
}
return ;
}