If we're giving 10 seconds for everything to shut down, checking if we're asked to stop every 5 seconds doesn't seem unreasonable.