stop launched process when page reloads