Do not sleep while waiting for GC am: bcec38f7b7 am: 98c5434086 am: e44ad10cd4

Original change: https://android-review.googlesource.com/c/platform/art/+/1700311

Change-Id: I87cb062204da63ea67e99b11ecd3671755ce7561