Thread servicestartarguments still running after stopService
<p>In my Android application, I am running service by this example code:</p>

<pre><code>startService(new Intent(this, TaxiService.class)); 
</code></pre>

<p>After that, there are two threads started like one as service and second as a ServiceStartArguments, then I stop the service by this:</p>

<pre><code>stopService(new Intent(this, TaxiService.class));
</code></pre>

<p>After stopService still I see thread with name ServiceStartArguments.
If i run and stop service n-th I see more threads with name ServiceStartArguments.
Why and how can I stop thread with ServiceStartArguments?
Thanks.</p>

<p><strong>EDITED</strong>
I found problem, but no solutions. In my service I stared thread like this:</p>

<pre><code>thread = new HandlerThread("ServiceStartArguments", android.os.Process.THREAD_PRIORITY_BACKGROUND);
thread.start();
mServiceLooper = thread.getLooper();
</code></pre>

<p>In Destroy method I have:</p>

<pre><code>mServiceHandler.removeCallbacks(thread);        
super.onDestroy();
_started = false;
</code></pre>

<p>But still thread is running.</p>

<p>Here is part of ServiceStartArguments thread:</p>

<pre><code>            _started = true;
            int seven = 0;
            while (_started) {              
                try {
                    Thread.sleep(1000);
...
</code></pre>