v2.1.1: Fix: APIS-691, Socket error is escalated twice to a connection callback.