Ensuring doors are shut