fixed clearing connection object after set host