I was looking to tokio source code to get the answer for the question and I was under the impression that sleep method literally puts a timer with duration(https://github.co