ssa.c: Fix closing of bad downstream connection

In case of bad rsocket detected, it is closed
and revents & events are cleaned for the corresponding
file descriptor.

Signed-off-by: Ilya Nelkenbaum <ilyan@mellanox.com>
Signed-off-by: Hal Rosenstock <hal@mellanox.com>