let the thread sleep a bit