No, it is the WiFi connection. The MQTT client is the same whether it connects via WiFi or Thread does not make a difference in the way it handles the connection (or reconnection).
To troubleshoot the WiFi connection please follow this guide: Smart Lock WiFi/Thread/MQTT connection troubleshooting / FAQ