Merge pull request #625 from kanoi/master minion - 'reset' SPI when getting errors & mutex lock getaddrinfo