Stopping after 5 minutes and displaying the results