First commit for fixing races between cm handler context to poller (app) context.

Change-Id: Icd96505a87b13f51718face40d44df64d1d13155
Signed-off-by: Or Kehati <ork@mellanox.com>