try to xmit messages when going out of loop

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