Agent-Smoker Thread Problem