fix: don't hang when starting the emulator for the first time

Closes #20