move wallet instantiation off main thread