do i need to somehow close the connection to that server before i do the search?