The only thing which he could have achieved by repeatedly ramming the doors, was him falling down the elevator shaft. He battered the doors until they gave in, and he saw they were giving in making it obvious he would fall down the elevator shaft. Then he fell down the elevator shaft.