Merge pull request #1752 from clebertsuconic/2.4.x

HORNETQ-1379 & https://bugzilla.redhat.com/show_bug.cgi?id=1125042 - using executor on ping flushes to avoid waiting for a lock