Add -noRetryAfterConnected and -retry options. These provide optional exit strategies for the default unlimited retry loop.
Merge pull request #4 from vergoh/master

Client side options for changing retry behaviour