improve conn handling when all subs are removed

DATAREDIS-107
RMLC properly closes
improve Atomic integration tests