Patch time.sleep so unit tests go quicker