I have a small ssh handler class which I want to make monitor the connection status of a raspberry pi through ssh. To do that I\'m calling the exec_command on a paramiko.SSH