Moved rally control out of mayproxy.py into its own module.
prevent a disconnected serial port from causing the CPU to spin