[BUG FIX] - disconnection caused memory overrun
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>