title: Android service onCreate is called multiple times without calling onDestroy
body: <p>In my app, I use a service to communicate with our server. The Service spawns several message queue threads to deal with tasks with different priorities.</p>
  
  <p>This model has been used for about one year without big issues. However, recently, I found some time the <code>onCreate</code> of my service class are called multiple times. <code>onDestroy</code> is never called between two <code>onCreate</code> calls. Therefore, I did not get chance to kill existing threads. Once this behavior happens, the service has duplicate threads inside.</p>
  
  <p>The only thing I have changed is to run the service as foreground service is a user signs in the app. I am wondering whether foreground service cause the problem. </p>
  
  <p>Any ideas?</p>