Restart DAGScheduler loop if it dies and log exceptions

@markhamstra