Testing thread_sleep. Seems to be working perfectly