shorten connection handler