Added better exception handling and timeouts to Connection Providers. Cleaned up the example projects.