Maybe this `sleep` is useless as there is wait method right after it?