Fix thread target to static method