*/
		public synchronized void waitForBothSocketAccepts() throws Throwable {
			if(!acceptedBothSockets)
				this.wait();
			
			//sleep further to make sure the select doesn't keep going off as
			//we have processed everything.
			Thread.sleep(5000);
			
			if(t != null)
				throw t; //to fail the test case if exception happens on polling thread.
			assertNotNull("clientChannel 1 should be non null", clientChannels[0]);
			assertNotNull("clientChannel 2 should be non null", clientChannels[1]);			
			assertTrue("clientChannel 1 and 2 should be different", clientChannels[0] != clientChannels[1]);
		}