Error Message: "Serial main process terminated" and Respawns Repeatedly