function to pause the feed