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

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

Change-Id: I3674acb670774ef62de0f2a9effdfd0bb403d45a