remove ctx hooks after the successful reconnect
remove ctx hooks after the successful reconnect

this fixes main.mysql_client_test_nonblock failures
in optimized builds

MariaDB/mariadb-connector-c,MariaDB/mariadb-connector-c,MariaDB/mariadb-connector-c,ottok/mariadb-connector-c,ottok/mariadb-connector-c,ottok/mariadb-connector-c