collaps all socket IO into one thread