send credits ack only when connection is online

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