introducing ht_call, to atomically invoke a callback on a stored item