My rak gateway disconnects when WIFI is disabled how to reconnect it

Im using chirp stack server to receive LORA messages. But this RAK gateway goes offline when there is no WIFI. How to reconnect it automatically after WIFI is connected