added sys.sleep to pipeline