using system to sleep as the timing is better