Avoid unclean reactor errors from `vertex.ConnectionCache`.

`ConnectionCache` didn't properly wait for connection to close,
when shutting down.