Changed web socket threading in to simpler, more efficient and less
error prone than previously. It was over complicated.