Its only going to look at the condition of the switch each time round the loop and since the loop will take in excess of 4 seconds due to all the delays, it isn't going to be particularly responsive to the what the reed switch says..........
The time honoured solutions to many problems - take a look at 'Blink without delay'.