Stack Overflow is loaded with questions on how to reliably run a resource intensive process on a background thread. See so0, so1, so2, so3, so4, so5, Go to the complete details ...