a platform/architecture(64)-independent way to stop emulators