Added support for OpenFL (so it does not block the app on native requests)