Removed modbusMutex as it was unused in most cases