decreased speed for led counter and stop it at the end of main