remove datasets from memory after use