check if added work is already pending, if so return error

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