Cleanup of the reservoir.