Replace variable self.connection by ProxySSHConnection.