public TcpConnectionSupport makeMockConnection() {
   TcpConnectionSupport connection = mock(TcpConnectionSupport.class);
   when(connection.isOpen()).thenReturn(true);
   return connection;
 }