mixpanel/mixpanel-iphone — pull request #19 by erikchen (2012-04-24 17:00:19+00:00)
Title: Fix two bugs.

1. The expiration handler for beginBackgroundTask was cancelling the connection, but not setting self.connection = nil, which would prevent all future connections from going out.
2. Remove an extraneous attempt to start a NSURLConnection. [NSURLConnection connectionWithRequest:delegate:] creates a connection that is started immediately, and the documentation is unclear as to whether start is an idempotent method.