Let's keep these notes as references for later use. Polling on connect() can sometimes return a few unexpected state combinations that such tests illustrate. They can serve as reminders for special error handling.