AGP-418: load ts connector only in frontend mode to prevent BE exceptions