Added function to restart the emus process.