Switch connections to STM outside of the gamestate