Use Future for writing to sink.

* brings the sink write out of the scope of the
  HTTP request.
Merge branch 'future-scala-collector'