title: Eclipse Paho can not keep connection
body: <p>I tried to using eclipse paho on Mosquitto and ActiveMQ.
  When keepalive less than 30 seconds, everything is ok.
  when keepalive more than 30 seconds, server will disconnect it after about 5 mins.</p>
  
  <pre><code>1351161274: Client charles_subscribe has exceeded timeout, disconnecting.
  </code></pre>