add debug name that is the provided hostname.
add log statement when failure timeout reached.
fix tests