Added stop() method to stop caching subsystem.