Introducing a delay after turn off