fixed a bug in cc_find_or_create_rw_pollthr