Fix a bug: set APNsConnection _alive attribute to False when apns connectiong closed

Last weekend I found a bug with my apns provider application. When the apns disconnected, my application retry connecting and timeout. Because the stream_connect_callback method didn't set the APNsConnection attribute _alive to False，the timeout_callback didn't work so correct, that lead to the state of the APNsConnection confusion.