Fixed retry handling of get_whois

It seems that the function arguments of `get_whois` has changed in the past. When doing a retry it was called with invalid arguments.