Performed cleanup in snapshotting prevayler service.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>