test delayed work existence before add or delete to workqueue

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