I think it would be better and less error prone to set block as nil after calling: if let response…
Andrey Panov

That is a good idea, thanks

Like what you read? Give Ernesto Torres a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.