Auto-restart application when it dies