Try adding singleThreaded to the driver definition.
If that does not help let me know, I have another idea for the driver as well.
Like this
metadata {
definition (name: "MolSmart - Relay 4/8/16/32CH (TCP)", namespace: "TRATO", author: "VH", vid: "generic-contact", singleThreaded: true) {
More info:
1 Like