When select receives two channels, both of them can return, which case will be selected is undetermined. Use one channel with resp and error to avoid this issue.
When select receives two channels, both of them can return, which case will be selected is undetermined. Use one channel with resp and error to avoid this issue.