Add a flag to take snapshots synchronosly. This should be used to take or load snapshots while the emulator is not running.