fixing time.sleep with wourkaround

Change-Id: If372ac22434c888aa6361fb6b7f06a463e91b7d7