use a separate timer to close the doors once the snake is out