fix for flow audit test case failure

using CreateFlow API to avoid direct access to flowtable from main thread.
which was causing testcase failure in certain cases.