implemented wait_per_host more propery
updated example