Fixed a cpu 100 percent spike in ssh_monitor