added sleep to etherdream thread