refactor(server) cleanup snapshot
Merge pull request #190 from xiangli-cmu/snapshot_cleanup

refactor(server) cleanup snapshot