Check endpoint status first before adding into the hash table