Add grace period of 5 seconds when transitioning to internal state