Option to control cleanups

Signed-off-by: Garrett Wu <gwu@wibidata.com>