I am using a Raspberry Pi b+ with bookworm Os. It is connected to the internet over wifi. It has a static IP. The problem I am facing is that I can't ssh to it a few hours after turn on. I am running a small NodeJs webserver in it. Even that is not responding. But there is a Python-based telegram client/bot, created based on the telthon library. It is responding. It is created to download what links I provided to it using aria2c downloader. That is working perfectly. When I provide links to the bot it is downloading. That means the Raspberry is not on sleep or any other power-saving mode I believe. But if I restart raspberry all works well. So why this is happening? How can I fix this?
sudo iw wlan0 power_save off