Merge: #23215: note that time.sleep affects the current thread only.