Log connection retries. (Jan Paul Posma)

[ close #190 ]