Fix outstanding future in ios device discover code