Added message control to break out of loop is all messages had been attempted and switched the sleep order.
Added message control to break out of loop is all messages had been attempted and switched the sleep order.

sbenthall/dbot