add sleep to ec command