Remove try-with-resources for log stream in WokerResource