If your event loop isn’t empty lambda will hold back the handler callback by default. (eg. you kept a connection open with your db)
Use this property to prevent it from responding.
context.callbackWaitsForEmptyEventLoop = false;
I think “sls invoke local” should replicate this behavior to avoid confusion (will create an issue).