snapshot exits gracefully when pressing CTRL-C.