Fix watchdog leaks in GerritConnection.

Change-Id: I4374d223d968f383aa414160bc8c62f28b41cecd