Add stop() method. Update listing() method to take in listing function.