add max_connection

Signed-off-by: Weiping Pan <wpan@redhat.com>