non-blocking shutdown