Remove port from collection on port closing

r=@fqueze