* Closes the input and output streams of the specified connection
* and removes it from the cache.
*/
public void removeConnection( long connectionId ) {
ConnectionInfo info = getConnection( connectionId );
try {
info.getInputStream().close();
}
catch( Exception e ) {
//Nothing to do here.
}
try {
info.getOutputStream().close();
}
catch( Exception e ) {
//Nothing to do here.
}