One for-sure way to close up a wall/ceiling is to have an H/V trigger, and set the flags "Solid (Hard Sides)" and "Ignore Solid".
This basically makes a wall/ceiling that stretches infinitely, since the player can't pass the trigger and the trigger goes through walls.
It will fail if you are...