brings a generic implementation that prints a stack trace for 'nil' channel closes(), if not safely closes it.