Prevent double-connecting websockets with mobile