adding exception handling in port unplug