Fix a bug that was preventing proper ByteFlood shutdown.