WIP fix persistent connection var_dump output and test
WIP fix exchange error handling and remove previous errors