The sleep module allows you to pass in a function and a delay. The boot behaviour should use this, but instead it counts frames manually