Playing short should be a way to progress the ball, not a rule that ignores the picture.
Before the restart, look at what the press is giving you. If the opposition has matched every short option and your defender would receive with an opponent already able to press from the front, the short pass may only be moving the problem five yards. Check whether a longer pass can find a forward, a wide player or a second-ball area your team is prepared to compete for.
The key is that going long should still be deliberate. Do not simply clear it because you feel pressure.
If possible, agree the triggers with your coach and defenders beforehand: which press shapes you will still try to play through and which ones invite you to use the space further up the pitch. Good build-up includes recognising when the opponent has overcommitted to stopping the build-up.