@corzntin if screen is installed you might be able to set a screen instance running that you reconnect to every 30 seconds while you diagnose the problem ?