if (pInfo != null) {
synchronized(pInfo) {
while (pInfo.getInUse()) {
try {
logger.finest("wait till the port is released");
pInfo.wait();
} catch (InterruptedException ie) {
logger.severe("Exception while waiting for port to be released", ie);
}
}
if (pInfo.isRemoved())