I’m going to speculate here - when the home button is pressed your activity is backgrounded/suspended - that is, your whole application is suspended, threads will not keep running.
I’m not very knowledgeable about Android process handling and lifecycle, but I’m pretty sure if you want something to run in the background then is needs to be a service and not an app.
App lifecycles are managed by the OS, if it backgrounds your app then it’s suspended in entirety.
@liortal and @larku are correct.
Are you pausing the main Unity app by clicking the home button? In that case, the activity is paused, and of course it doesn’t receive anything like UnitySendMessage from your service.