Fix for bug 446663. Please see bugs comments for the description.

Signed-off-by: Marco Carrer <marco.carrer@eurotech.com>
Addressed comments from Code-Review-1. ConnectionLoss tests have been marked as ManualTests and they have been excluded from surefire.

Signed-off-by: Marco Carrer <marco.carrer@eurotech.com>
Added marker interface for manual test: ManualTest.

Signed-off-by: Marco Carrer <marco.carrer@eurotech.com>