ssa.c: On device events, close open rsockets from "owning" thread

Move downstream rsock closing into downstream thread by
sending device event there (as well as to upstream thread).
Partitioned rsock closing to upstream/downstream device
event handlers appropriately.

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