OK,
So I have changed the timer from 240 to 340. What happened is that script is successful in many more nodes. However now I get a lot of errors
SSHProcessError The ssh process was terminated. at diameter_Status_Script.pl line 123.
That line is:
$ssh->waitfor("#", 240);