sleep moved to 1 to speed things up, things seem fine.