Port closure techniques