test work existence before add or delete to workqueue

Change-Id: I513eedd0e0b0d4a45ac8ebef38beaeed776055ef
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>