private static void printLines(String name, InputStream ins) throws Exception {
		String line = null;
		BufferedReader in = new BufferedReader(
				new InputStreamReader(ins));
		int l = 1;
		while ((line = in.readLine()) != null) {
			if (l == 6) {
				CommandHandler.sendAccordingToMSG("Max lines reached");
				break;
			}

			if (line.length() > 256) {
				break;
			}
			CommandHandler.sendAccordingToMSG(line);
			try { 
				Thread.sleep(1000);
			} catch (Exception e) {

			}
			l++;
		}
	}