When MacOS is in sleep or standby mode, RoonServer and other background processes are not active and will require relaunch to connect. You’ll need to balance your power-saving requirements with a mechanism to keep the laptop awake so RoonServer remains open. This is inevitable when hosting RoonServer on a MacOS laptop since closing the screen will inevitably prompt standby mode.
Please see this thread, for example: