Added a stop function to the helper