thread handling, ping done