from Ref<TabIface> to TabIface*, Perl takes ownership and the Tab is being incorrectly deleted by the background threads.