I am writing an application where I want to consume SQS messages. I\'ve created a BackgroundService, and registered it in the startup. Works like a charm. Problem is that it