How to deal with tech downturn