Ensure setting flags always returns promise