$ 0 0 Instead of constantly stopping the process when it restarts, you might better avoid the "restartings".