And add tests for the parallelization. It's really not safe and multiple emergencies could be generated with the same ID. Pretty unlikely though.