fix crash on ios earlier 6.0. Before use connection property we should check is it available or not