if ( !channel.isBlocking() && !channel.isConnected() &&
channel.isConnectionPending() )
{
try
{
<BUG>channel.finishConnect();
</BUG>
}
catch ( IOException e )
{

if ( !channel.isBlocking() && !channel.isConnected() &&
channel.isConnectionPending() )
{
try
{
return channel.finishConnect();
}
catch ( IOException e )
{
