title: Android - Stop all threads when leaving activity
body: <p>My app contains an <code>Activity</code> which starts a bunch of <code>AsyncTasks</code> and recursive functions. Everything works just fine - even when I leave my actitiy via the <code>back</code> or <code>home</code> button.</p>
  
  <p>Is there an easy solution for just stop everything when leaving the activity?</p>
  
  <p><strong>Edit</strong></p>
  
  <p>My background threads make http calls etc. Via my logs I can see that the threads are still running.</p>