making the port removal happen before the container is killed.