Fix port leak