Add bootstrap stop function.