public void cancel()
	{
		int counter = 0;
		int prevSize = 0;
		while (getNotifyQueue().size() != 0)
		{
			if (prevSize != getNotifyQueue().size())
			{
				prevSize = getNotifyQueue().size();
				counter = 0;
			}
			else if ((prevSize == getNotifyQueue().size()) && (counter == 25)) break;
			try
			{
				Thread.sleep(200);
			}
			catch (Exception e)
			{
				// Swallow this... its an artificial delay to drain queue of events...
			}
			counter++;
		}
		getNotifyQueueManager().cancel();
	}