socket io wait to launch page