langohr-36: Use a loop instead of a recursion when recovering connection.
Merge pull request #37 from glorphindale/infinite-recovery

langohr-36: Use a loop instead of a recursion when recovering connection...