Reuse connection to Gerrit and remove unused params

Change-Id: I0400f62fd1d1b4cd1130c1fc85eb57c13b29d256