Add open connection logic