Do the handlers associated handleAppMainEvents(){..}, in their definition have asynchronous operations involved? For example, the handler itself to return promise?
I suspect, the problem could be with the nuances of the serverless platform,
Let me know if that helped you make some progress?