The player should have been tossed for unsportsmanlike conduct and recorded as an out.
from this in baseball rules academy. https://baseballrulesacademy.c...ortsmanlike-conduct/
(3) Call “Time,” or employ any other word or phrase or commit any act while the ball is alive and in play for the obvious purpose of trying to make the pitcher commit a balk.