How to call async func from sync func in Swift 5.5?