Fix crash modbus_new_rtu when baud is 0
Improved error recovery