Add sv_shutdown_when_empty
fix