clean dirty task before releasing

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