Added automated restarting to offset crashes from time to time