Added threading to write_points call

This makes sure that your app doesn't block in case that the influxdb endpoint
is unresponsive.
Released v0.3.1