You can close a poll by specifying the pollId in the closePoll() method.
pollId
closePoll()
channel.closePoll(pollId: poll.pollId) { poll, error in // A poll has been successfully closed. }