[Warehouse Server] Enhance stability by modifying worker as thread

- Modifying worker as thread
- Add index checking
- Add interacative testing sequeunce for Serial Emulator