JFG-365 long test results were not collected

Added checking of connection