add sleep to robotium.