add max client limitation