Do a process exit when theres a serial error (so as a daemon the process will be restarted)