Workaround for iOS 6 disconnect problem