[IOT-3260] SSL close callback