What was the reason for the `sleep` here ?