fix using ipAddr argument for IP address instead of wrong timeout