title: Multiple MQTT Publish not Working
body: <p>I have multiple python scripts running that all publish on to different MQTT Mosquitto channels / topics. All scripts start with the following code.</p>
  
  <pre><code>import paho.mqtt.client as mqtt
  
  client = mqtt.Client("python_pub")
  client.connect("localhost", 1883)
  </code></pre>
  
  <p>Then each script has a different publish command like </p>
  
  <pre><code>client.publish("TA/temp", temp)
  </code></pre>
  
  <p>or </p>
  
  <pre><code>client.publish("timer/time", time)
  </code></pre>
  
  <p>What happens is if I run one script it will publish successfully I can subscribe with another script.</p>
  
  <p>However, if I run a second script, only the new one will publish. The other falls off. </p>
  
  <p>Do I need to be using different ports or client names between the different python scripts?</p>
  
  <p>Thanks!</p>