sending primes from client to server works partially; somtimes the first number is lost