lib: added Sleep