set timeout=3 on check_ssh_port function