add a Limit for the messageQueue to avoid to much commands when we have a bad wlan connection