exit if client_amount corrupt for servr and assert for client