pgm.push: Ensure SSH connections are closed
If we don't close the transport when we are done with it
the SSH session stored within the Transport will still be
opened to the remote side. JSch may have created one or
more background user threads to handle that connection,
which means the JVM won't terminate cleanly when we are
done with our work.
We must close each and every transport we opened.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>