(DO NOT MERGE YET) Update logging to https://github.com/druid-io/druid-api/pull/27

Should go with https://github.com/druid-io/druid-api/pull/27
using a try-with-resources here broke task log streaming, because the stream gets closed when exiting the try-catch block instead of letting Jersey read out and close the inputstream