https://github.com/uber-go/cadence-client/issues/796
cadence-workflow/cadence-go-client#796