stop() method and handle missing entry