Add disable_flush option for sentinel queue commands.
(originally 90c950d2 by proksoup)
Don't attempt to connect to master while initialization is in progress (for sentinel).
(cherry-picking f34fde22d8d from tanguylebarzic)