Also call nanosleep on android

Change-Id: I33c2c202cf895d49732e30c07e6dec58af035fdc