Capturing all exceptions when just checking for connections to a server, and returning false, since, well, we had a problem connecting to the server.
On OS X, using 'unload/load' instead of 'stop/start'. The documentation isn't clear on why this is the way to do it but it works in practice.