title: MQTT-Client-Framework stay running at background
body: <p>I'm trying to connect to our push server via <a href="https://github.com/ckrey/MQTT-Client-Framework" rel="noreferrer">MQTT-Client-Framework</a>.</p>
  
  <p>There is no complication for connecting to server and with a few line of code i can connect to server and subscribe to topic.</p>
  
  <p>but I have a few question that I could not find any direct answer for them.</p>
  
  <p>1) How can I keep my client running at background?</p>
  
  <p>2) What happen after device restart? how can I automatically connect to server after device restart?</p>
  
  <p>3)Suppose I got an error during connecting to server. Will this library trying to connect in a loop? how many times it try? or I need to manage this myself?</p>
  
  <p>4) The same 3 scenario for subscribing to topic?</p>