added sleep to ::up to reduce CPU usage