void doClose() throws Exception {
		socket.disconnect();
		assertEquals("onDisconnect", takeEvent());

		while (outputs.size() != 0) {
			fail("Line in queue: " + outputs.poll());
		}
		while (events.size() != 0) {
			fail("Event in queue: " + events.poll());
		}
		while (args.size() != 0) {
			fail("Arguments in queue: " + args.poll());
		}
	}
Closes a {@link SocketIO} connection.

@throws Exception
            the exception
tests/io/socket/AbstractTestSocketIO.java