I have on occasion told players "You've got just long enough to hoof it in" - which has resulted in me just blowing for time when they decide to try a clever tippy-tappy routine afterwards.
I've done that and explained to managers who moan at the end who in turn moan at their players.
Even recently, had a free kick, player asks how long and I said this will be last attack. Free kick on half way line.
Instead of getting it into the area, they passed it to the guy stood 4 yards away to his right, who touches it 3 or 4 times and pauses. I blow the whistle to end the game. For me, they had about 10-15 seconds on the ball and not even tried to get it in. As I blow, you could see the player lump it forward.
Manager says they were attacking.
I said to manager that the kicker asked how long and I said this will be the last attack. Not my fault he played it short and he sat with the ball for 10 seconds before hitting it when I blew for full time.
He knew he should have played it long if they had any hope.
He chose to ignore me.
Manager turned to his kicker and said why didn't he play it in. He then thanked me and walked with his kicker.