Catch clientId invalid connection dereference