add timeout to address resolve