Best practices for single connection, multiple client, and auto reconnection?

im not having any right now.
okay in my go code,

i initiate a grpc connection to dgraph,

then in each handler, example:

http.Handle("/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
		//initiate client with grpc connection from main
	}))

my question is, since my grpc is initiated outside of handler, if i restart dgraph, will it havae connection issue in my web server? that i need to also restart my web server?