public static int addConnectionThread(Thread con)
	{
		boolean added = false;
		int num = 0;
		
		for(int k = 0;k<=5;k++)
		{
			if(MainThread.uploadConnectionThreads[k] == null && added == false)
			{
				MainThread.uploadConnectionThreads[k] = con;
				added = true;
			}
		}
		
		if(added = false)
		{
			return 99;
		}
		return num;
	}