Others have already pointed out your syntax issues but I'm wondering what else is the Arduino going to be doing?
Any time you use a delay() call you will block anything else from happening. In this case if the Arduino is disconnected from BlueTooth (as you say) and the LEDs are blinking 5 times every loop() call then you can only do other processing every 2 seconds.