Fixed thread sleep location and value

Now there won't any toasts recorded