Limit number of times a connection will be attempted
Merge pull request #34 from elihart/limitAttempts

Limit number of times a connection will be attempted