add max_connections config