shutting down emulator after every feature