connection state change to "closed" while on "close wait" state is invalid

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