unset api client after failed connection