more close tests
test on_error
fix error handling and reconnect
fix test
several client_ev bugfixes and tests