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

Change-Id: I1da58d6a21e98f672b653535a97c987827f53ea8
Merge "using CreateFlow API to avoid direct access to flowtable from main thread. which was causing testcase failure in certain cases."