repeat re-connection effort (missing continue). fix an error in logging failed write to carbon
add setup.py, make it virtualenv friendly.