reset object before throwing exception

this allow to use object after exception without any additional actions
call on_disconnect on connection errors

instead of confessing. Now there are less cases there object can not be used after exception
bump version 2.13_3