rename _is_connect() to is_connect()