Added comment regarding error handling of thread creation