Just be aware that `timer:now_diff/2` returns µs, not ms, and everything should be alright!