title: client <clientname> has exceeded timeout disconnecting
body: <p>I am using MQTT 3.1.1, I have installed a mosquito as a local server on my computer.</p>
  <p>I am sending the Some sensors data from pubsubclient (MQTT client library ) to the mosquito and saving it to the database from the mosquito server</p>
  <p>Whenever I start the session upto 5-10 minutes I am getting the messages but after that
  MQTT client couldn't send any message and disconnect automatically.</p>
  <p>Before disconnecting it prints the following message in command line</p>
  <pre><code>client &lt;clientname&gt; has exceeded timeout, disconnecting
  Socket error on client &lt;clientname&gt;, disconnecting.
  </code></pre>
  <p>Also I am using the server with default configurations, except the QOS is set to 2</p>
  <p>What is causing this error and
  What should I do, so that client should not disconnect from my local server ?</p>