Fixed logging message
Using time.After instead of time.Sleep