Bugfix: Improper exception catching could lead to connections not being closed
Added functionality to dump list of datapoints
Added comment on how to test
Updated todo