Add treatment of port occupied