producer: prevent connect/close race
Merge pull request #45 from mreiferson/close_race_45

Panic via nsq.Producer