Fixing OMF API not being remove on delete from _apis dict in omf_api_factory