adding is_flushed member to connection

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