delay added to threads