sleeping for 40 millis