Improve jenkins reliability - return Failure in case we can't connect