fixed AddRef to be done on same thread as added callback