PAXWEB-569/PAXWEB-570: Close connectors before removal and add a warning