[SJS-176][BUG]: Fix for connection error event not being triggered for reconnection