update console test app to shutdown properly.
CSHARP-1123: removed unnecessary classes after refactoring connection handle to use same pattern as elsewhere in code.