Refactored Threads
- Exiting handled in SleepyThread
Erase in multithreaded environment has its own thread
- Fixed race condition of thread while being deleted