MULE-7316: Fix flaky. Removed sleep and replaced it for flow listener an...

...d polling probe instead.