exit top-level debug session when restarting R