Refactored threads starting into unified function.