Add more robust connectivity checking.
Add message sending throttling.