space -> tab
log any stacktrace on panics
prevent double close on send channel