more verbose disconnect error output
fixed encoding problem