Is there a ping function to check the idle connection?

Great, I’ll edit my initial response to use a non-empty key and mark it as solution.