stephane/libmodbus — pull request #77 by karlp (2012-07-30 15:54:47+00:00)
Title: Sleep a little while reconnecting.

As this code is called in a forever loop, it should try and be somewhat
polite to any other OS tasks. At present, with tcp connections to localhost,
and presumably rtu connections to a local serial port, this is a CPU hog if
the remote port is not listening.