Nuki 4.0 PRO stops responding to MQTT

This ist most likely caused by WiFi connectivity issues.

To troubleshoot the WiFi connection please follow this guide: Smart Lock WiFi/Thread/MQTT connection troubleshooting / FAQ