Cache the results for the jid using salt-ssh

Fixes #11695