Remove endless loop.