Change send messages in background threads to IntentService.