if(Serial.read()) {
That was a code left over from old sketch. Any other thing that makes you stop reading the code?