Removing unused code number_of_connections