Improve error handling in MB command sending