I am getting below error:

Error running query : connection is closed

and notification “Play With Session Usage Data failed to run: connection is closed”

At logs i see the error as "raised unexpected: InterfaceError(connection is closed)

Could you please explain why/when this error would be thrown? How to fix this? And this is happening for particular query and other query to the same data source succeeds.