change sleep in parallel