delete connect_func ~