Adjust the logger;
Log error instead of throwing RE when in.close() fails