added a two macros to flow-utils for executing asynchronous tasks and simplified task-exec with them