max_connections fix