java threading implemented to have each stock page run independently, instead of dedicated attention for (while true) loop