Change syncCh to be a chan (chan bool) so that a separate channel is
used for replies so that multiple simultaneous calls to Close() do not
cause problems.